import axios from "axios";

axios.defaults.baseURL = 'http://localhost:3000';

export interface ApiResponse<T = any> {
  code: number;
  data: T;
  message?: string;
}

export default axios; 